package com.jiantong.work.service.yangzhibaoxian;

/**
 * Created by ThinkPad on 2017/9/5.
 */

import com.jiantong.work.model.yangzhibaoxian.File;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;

import java.util.List;
import java.util.Map;

/**
 * 文件表
 */
public interface FileService {
    Response<File> findById(Long id);

    Response<List<File>> findByIds(List ids);

    Response<List<File>> list(Map map);

    Response<Paging<File>> ping(Integer offset, Integer limit, Map map);

    Boolean update(File file);

    Long create(File file);

    Integer creates(List<File> fileList);

}
